package xuegao.study.mall.admin.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import xuegao.study.mall.common.api.CommonResult;
import xuegao.study.mall.common.model.cms.CmsSubject;

import java.util.ArrayList;
import java.util.List;

@RestController
@RequestMapping("/subject")
public class CmsSubjectController {

    @ApiOperation("获取全部商品专题")
    @GetMapping(value = "/listAll")
    public CommonResult<List<CmsSubject>> listAll() {
        return CommonResult.success(new ArrayList<>());
    }
}
